

#import "StaticTools.h"

@implementation StaticTools

/**
 *  获取当前软件版本
 *
 *  @return 版本号
 */
+ (NSString*)getCurrentVersion
{
    NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];
    NSString *localVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];
    return localVersion;
}

@end
